home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
mnode15.zip
/
NODEX.TMP
< prev
next >
Wrap
Text File
|
1993-03-29
|
2KB
|
77 lines
@echo off
rem C:\WC30\WCWORK\NODEx\NODEx.BAT
rem Generic BBS NODE startup template .BAT
rem Be *SURE* to RENAME this .BAT file to the proper node number
rem IE: NODE1.BAT, NODE2.BAT etc...
rem -----
rem SYSOP:
rem Set This node's specific configuration by
rem editing the next 3 SET commands:
rem ---------------------------------------
set WCNODEID=1
set WCPORTID=1
set WCMDM=HST
rem No other node information is required to be entered
rem by the Sysop other than the 3 lines above!
rem -----
rem Begin Generic .BAT file routines:
Echo Executing NODE%WCNODEID%.BAT
Echo ====
Echo Testing for C:\WC30\NODE%WCNODEID%.UP
if exist C:\WC30\NODE%WCNODEID%.UP goto NODE_CONFLICT
Echo ====
Echo NODE%WCNODEID% is not running, bringing up NODE%WCNODEID% normally.
echo ====
Echo Locking out NODE %WCNODEID% via NODE%WCNODEID%.UP tag file.
copy c:\wc30\node.tag c:\wc30\NODE%WCNODEID%.UP>NUL:
echo ====
Echo Installing NODE%WCNODEID% TSR's and environment variables.
prompt NODE %WCNODEID% $p$g
dvansi
Echo ====
Echo NODE%WCNODEID%.BAT complete. Starting up the BBS via C:\WC30\CAT.BAT.
cd c:\wc30
cat.bat
goto EXIT
REM ----------------------------
:NODE_CONFLICT
CLS
Echo Node %WCNODEID% Conflict detected!
Echo -----
Echo -
Echo NODE%WCNODEID%.UP tag file found in C:\WC30. One of two things
Echo has occured:
Echo
Echo 1) You are attempting to start up a 2nd copy of NODE %WCNODEID%
Echo under Desqview.
Echo -
Echo 2) The BBS did not terminate normally (there was a crash or reboot)
Echo via CAT.BAT.
Echo -
Echo Please verify that you are not attempting to start up a 2nd copy of
Echo NODE %WCNODEID%. If there was a crash, please run FIXNODE.BAT.
cd c:\wc30\wcwork\node%WCNODEID%
:EXIT
Echo -
Echo NODE%WCNODEID%.BAT Done!
Echo -